list1=[1,2,3,4,5]
list1.append(6)
print(list1)
list1.pop(2)
print(list1)
list1[1]=8
print(list1)
li=list1.index(8)
print(li)

for i in list1:
    print(i)

list2=[7,8,9]
for i in list2:
    list1.append(i)
print(list1)
list3=[10,11,12]
list1.append(list3)
print(list1)
print(list1[2:5:1])
list1[2:3]=[13,14]
print(list1)
